Renesas Electronics /R7FA2A1AB /GPT320 /GTIOR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as GTIOR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (00000)GTIOA0Reserved 0 (0)OADFLT 0 (0)OAHLD 0 (0)OAE 0 (00)OADF 0Reserved 0 (0)NFAEN 0 (00)NFCSA 0 (00000)GTIOB0Reserved 0 (0)OBDFLT 0 (0)OBHLD 0 (0)OBE 0 (00)OBDF 0Reserved 0 (0)NFBEN 0 (00)NFCSB

OADFLT=0, GTIOB=00000, NFBEN=0, NFCSA=00, NFAEN=0, OBDF=00, OAHLD=0, NFCSB=00, OBE=0, OADF=00, OBDFLT=0, GTIOA=00000, OBHLD=0, OAE=0

Description

General PWM Timer I/O Control Register

Fields

GTIOA

GTIOCA Pin Function Select

0 (00000): Initial output is Low. Output retained at cycle end. Output retained at GTCCRA compare match.

1 (00001): Initial output is Low. Output retained at cycle end. Low output at GTCCRA compare match.

2 (00010): Initial output is Low. Output retained at cycle end. High output at GTCCRA compare match.

3 (00011): Initial output is Low. Output retained at cycle end. Output toggled at GTCCRA compare match.

4 (00100): Initial output is Low. Low output at cycle end. Output retained at GTCCRA compare match.

5 (00101): Initial output is Low. Low output at cycle end. Low output at GTCCRA compare match.

6 (00110): Initial output is Low. Low output at cycle end. High output at GTCCRA compare match.

7 (00111): Initial output is Low. Low output at cycle end. Output toggled at GTCCRA compare match.

8 (01000): Initial output is Low. High output at cycle end. Output retained at GTCCRA compare match.

9 (01001): Initial output is Low. High output at cycle end. Low output at GTCCRA compare match.

10 (01010): Initial output is Low. High output at cycle end. High output at GTCCRA compare match.

11 (01011): Initial output is Low. High output at cycle end. Output toggled at GTCCRA compare match.

12 (01100): Initial output is Low. Output toggled at cycle end. Output retained at GTCCRA compare match.

13 (01101): Initial output is Low. Output toggled at cycle end. Low output at GTCCRA compare match.

14 (01110): Initial output is Low. Output toggled at cycle end. High output at GTCCRA compare match.

15 (01111): Initial output is Low. Output toggled at cycle end. Output toggled at GTCCRA compare match.

16 (10000): Initial output is High. Output retained at cycle end. Output retained at GTCCRA compare match.

17 (10001): Initial output is High. Output retained at cycle end. Low output at GTCCRA compare match.

18 (10010): Initial output is High. Output retained at cycle end. High output at GTCCRA compare match.

19 (10011): Initial output is High. Output retained at cycle end. Output toggled at GTCCRA compare match.

20 (10100): Initial output is High. Low output at cycle end. Output retained at GTCCRA compare match.

21 (10101): Initial output is High. Low output at cycle end. Low output at GTCCRA compare match.

22 (10110): Initial output is High. Low output at cycle end. High output at GTCCRA compare match.

23 (10111): Initial output is High. Low output at cycle end. Output toggled at GTCCRA compare match.

24 (11000): Initial output is High. High output at cycle end. Output retained at GTCCRA compare match.

25 (11001): Initial output is High. High output at cycle end. Low output at GTCCRA compare match.

26 (11010): Initial output is High. High output at cycle end. High output at GTCCRA compare match.

27 (11011): Initial output is High. High output at cycle end. Output toggled at GTCCRA compare match.

28 (11100): Initial output is High. Output toggled at cycle end. Output retained at GTCCRA compare match.

29 (11101): Initial output is High. Output toggled at cycle end. Low output at GTCCRA compare match.

30 (11110): Initial output is High. Output toggled at cycle end. High output at GTCCRA compare match.

31 (11111): Initial output is High. Output toggled at cycle end. Output toggled at GTCCRA compare match.

Reserved

This bit is read as 0. The write value should be 0.

OADFLT

GTIOCA Pin Output Value Setting at the Count Stop

0 (0): The GTIOCA pin outputs low when counting is stopped.

1 (1): The GTIOCA pin outputs high when counting is stopped.

OAHLD

GTIOCA Pin Output Setting at the Start/Stop Count

0 (0): The GTIOCA pin output level at start/stop of counting depends on the register setting.

1 (1): The GTIOCA pin output level is retained at start/stop of counting.

OAE

GTIOCA Pin Output Enable

0 (0): Output is disabled

1 (1): Output is enabled

OADF

GTIOCA Pin Disable Value Setting

0 (00): Output disable is prohibited.

1 (01): GTIOCA pin is set to Hi-Z when output disable is performed.

2 (10): GTIOCA pin is set to 0 when output disable is performed.

3 (11): GTIOCA pin is set to 1 when output disable is performed.

Reserved

These bits are read as 00. The write value should be 00.

NFAEN

Noise Filter A Enable

0 (0): The noise filter for the GTIOCA pin is disabled.

1 (1): The noise filter for the GTIOCA pin is enabled.

NFCSA

Noise Filter A Sampling Clock Select

0 (00): PCLK/1

1 (01): PCLK/4

2 (10): PCLK/16

3 (11): PCLK/64

GTIOB

GTIOCB Pin Function Select

0 (00000): Initial output is Low. Output retained at cycle end. Output retained at GTCCRB compare match.

1 (00001): Initial output is Low. Output retained at cycle end. Low output at GTCCRB compare match.

2 (00010): Initial output is Low. Output retained at cycle end. High output at GTCCRB compare match.

3 (00011): Initial output is Low. Output retained at cycle end. Output toggled at GTCCRB compare match.

4 (00100): Initial output is Low. Low output at cycle end. Output retained at GTCCRB compare match.

5 (00101): Initial output is Low. Low output at cycle end. Low output at GTCCRB compare match.

6 (00110): Initial output is Low. Low output at cycle end. High output at GTCCRB compare match.

7 (00111): Initial output is Low. Low output at cycle end. Output toggled at GTCCRB compare match.

8 (01000): Initial output is Low. High output at cycle end. Output retained at GTCCRB compare match.

9 (01001): Initial output is Low. High output at cycle end. Low output at GTCCRB compare match.

10 (01010): Initial output is Low. High output at cycle end. High output at GTCCRB compare match.

11 (01011): Initial output is Low. High output at cycle end. Output toggled at GTCCRB compare match.

12 (01100): Initial output is Low. Output toggled at cycle end. Output retained at GTCCRB compare match.

13 (01101): Initial output is Low. Output toggled at cycle end. Low output at GTCCRB compare match.

14 (01110): Initial output is Low. Output toggled at cycle end. High output at GTCCRB compare match.

15 (01111): Initial output is Low. Output toggled at cycle end. Output toggled at GTCCRB compare match.

16 (10000): Initial output is High. Output retained at cycle end. Output retained at GTCCRB compare match.

17 (10001): Initial output is High. Output retained at cycle end. Low output at GTCCRB compare match.

18 (10010): Initial output is High. Output retained at cycle end. High output at GTCCRB compare match.

19 (10011): Initial output is High. Output retained at cycle end. Output toggled at GTCCRB compare match.

20 (10100): Initial output is High. Low output at cycle end. Output retained at GTCCRB compare match.

21 (10101): Initial output is High. Low output at cycle end. Low output at GTCCRB compare match.

22 (10110): Initial output is High. Low output at cycle end. High output at GTCCRB compare match.

23 (10111): Initial output is High. Low output at cycle end. Output toggled at GTCCRB compare match.

24 (11000): Initial output is High. High output at cycle end. Output retained at GTCCRB compare match.

25 (11001): Initial output is High. High output at cycle end. Low output at GTCCRB compare match.

26 (11010): Initial output is High. High output at cycle end. High output at GTCCRB compare match.

27 (11011): Initial output is High. High output at cycle end. Output toggled at GTCCRB compare match.

28 (11100): Initial output is High. Output toggled at cycle end. Output retained at GTCCRB compare match.

29 (11101): Initial output is High. Output toggled at cycle end. Low output at GTCCRB compare match.

30 (11110): Initial output is High. Output toggled at cycle end. High output at GTCCRB compare match.

31 (11111): Initial output is High. Output toggled at cycle end. Output toggled at GTCCRB compare match.

Reserved

This bit is read as 0. The write value should be 0.

OBDFLT

GTIOCB Pin Output Value Setting at the Count Stop

0 (0): The GTIOCB pin outputs low when counting is stopped.

1 (1): The GTIOCB pin outputs high when counting is stopped.

OBHLD

GTIOCB Pin Output Setting at the Start/Stop Count

0 (0): The GTIOCB pin output level at start/stop of counting depends on the register setting.

1 (1): The GTIOCB pin output level is retained at start/stop of counting.

OBE

GTIOCB Pin Output Enable

0 (0): Output is disabled

1 (1): Output is enabled

OBDF

GTIOCB Pin Disable Value Setting

0 (00): Output disable is prohibited.

1 (01): GTIOCB pin is set to Hi-Z when output disable is performed.

2 (10): GTIOCB pin is set to 0 when output disable is performed.

3 (11): GTIOCB pin is set to 1 when output disable is performed.

Reserved

These bits are read as 00. The write value should be 00.

NFBEN

Noise Filter B Enable

0 (0): The noise filter for the GTIOCB pin is disabled.

1 (1): The noise filter for the GTIOCB pin is enabled.

NFCSB

Noise Filter B Sampling Clock Select

0 (00): PCLK/1

1 (01): PCLK/4

2 (10): PCLK/16

3 (11): PCLK/64

Links

()